//
//  MyController.h
//  WebExtractSimpleViewer
//
//  Created by Daniel Braun on 10/03/07.
//  Copyright 2007 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class WCWebLoader;
@class WCExtractSetArray;

@interface MyController : NSObject {
	IBOutlet NSTextView *viewZone;
	IBOutlet NSView *dropZone;
	WCExtractSetArray *esets;
	WCWebLoader *loader;
	NSString *status;
	NSMutableDictionary *extracted;
	NSArray *_aextracted;
	int curPage;
	NSMutableArray *pages;
	//int numPages;
}

- (BOOL) dropFile:(NSString *)f;
- (NSString *) status;
- (void) setStatus:(NSString *) s;

- (NSArray *) extractedArray;

- (IBAction) reload:(id) sender;

- (NSNumber *) curPage;
- (void) setCurPage:(NSNumber *)n;
- (NSNumber *) numPages;
- (void) _addPage:(NSAttributedString*) p;
- (NSAttributedString *) page;

- (void) parseVariables:(NSMutableDictionary *) v;

@end

